import 'package:flutter/material.dart';

class ImageWget extends StatelessWidget {
  String src;
  ImageWget(this.src, {super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 200,
      width: double.infinity,
      child: Image.network(
        src,
        fit: BoxFit.cover,
      ),
    );
  }
}
